package com.qf.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/6/30 19:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer id = null;
    private String name;
    private String password;
    private String sex;
    @JsonFormat(pattern = "yy-MM-dd")
    private Date birthday;
    @JsonFormat(pattern = "yy-MM-dd")
    private Date registTime;
}
